home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 September / PCWorld_2008-09_cd.bin / domacnost a kancelar / joomla / Joomla_1.5.4-Stable-Full_Package.exe / includes / defines.php < prev    next >
PHP Script  |  2008-07-06  |  1KB  |  36 lines

  1. <?php
  2. /**
  3. * @version        $Id: defines.php 10381 2008-06-01 03:35:53Z pasamio $
  4. * @package        Joomla
  5. * @copyright    Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
  6. * @license        GNU/GPL, see LICENSE.php
  7. * Joomla! is free software. This version may have been modified pursuant
  8. * to the GNU General Public License, and as distributed it includes or
  9. * is derivative of works licensed under the GNU General Public License or
  10. * other free or open source software licenses.
  11. * See COPYRIGHT.php for copyright notices and details.
  12. */
  13.  
  14. // no direct access
  15. defined( '_JEXEC' ) or die( 'Restricted access' );
  16.  
  17. /**
  18. * Joomla! Application define
  19. */
  20.  
  21. //Global definitions
  22. //Joomla framework path definitions
  23. $parts = explode( DS, JPATH_BASE );
  24.  
  25. //Defines
  26. define( 'JPATH_ROOT',            implode( DS, $parts ) );
  27.  
  28. define( 'JPATH_SITE',            JPATH_ROOT );
  29. define( 'JPATH_CONFIGURATION',     JPATH_ROOT );
  30. define( 'JPATH_ADMINISTRATOR',     JPATH_ROOT.DS.'administrator' );
  31. define( 'JPATH_XMLRPC',         JPATH_ROOT.DS.'xmlrpc' );
  32. define( 'JPATH_LIBRARIES',         JPATH_ROOT.DS.'libraries' );
  33. define( 'JPATH_PLUGINS',        JPATH_ROOT.DS.'plugins'   );
  34. define( 'JPATH_INSTALLATION',    JPATH_ROOT.DS.'installation' );
  35. define( 'JPATH_THEMES'       ,    JPATH_BASE.DS.'templates' );
  36. define( 'JPATH_CACHE',            JPATH_BASE.DS.'cache');